import request from '@/utils/request'

export function getLabManagerList(data) {
  return request({
    url: '/lab-manager/find-all-lab-manager',
    method: 'post',
    data
  })
}

export function deleteLabManager(tid) {
  return request({
    url: '/lab-manager/delete-lab-manager',
    method: 'post',
    params: { tid }
  })
}

export function addLabManager(data) {
  return request({
    url: '/lab-manager/add-lab-manager',
    method: 'post',
    data
  })
}

export function updateLabManager(data) {
  return request({
    url: '/lab-manager/update-lab-manager',
    method: 'post',
    data
  })
}

export function setLabManagerPermission(data) {
  return request({
    url: '/lab-manager/set-labManager-permission',
    method: 'post',
    data
  })
}
